#ifndef __TCHARTLIBRARY_H__
#define __TCHARTLIBRARY_H__


#if _MSC_VER < 1200
#define _VC_VERSION_6
#endif  // _VC_VERSION_5

//if you want debug inline
#ifndef _TCHARTLIB_INLINE
#define _TCHARTLIB_INLINE inline
#endif // _AFXCMN_INLINE

#ifndef _TCHART_EXT_CLASS
#ifdef _AFXDLL
   #ifdef _TCHARTLIB_
       #define _TCHART_EXT_CLASS	AFX_CLASS_EXPORT // Always export TChartLib files...
   #else
       #define _TCHART_EXT_CLASS	__declspec( dllimport ) // Always export TChartLib files...
   #endif
#else
#define _TCHART_EXT_CLASS	// not used with static builds.
#endif
#endif // _CJX_EXT_CLASS

//the following must be included for the ADO stuff no_namespace 
//#import <c:\Program Files\Common Files\System\ado\msado15.dll> rename_namespace("BDSADO") rename ("EOF", "adoEOF") rename ("BOF", "adoBOF")



#include <afxole.h> // There will result unpredicable error without this head

#include "tchart.h"

#include "surfaceseries.h"
#include "waterfallseries.h"
#include "TeeChartDefines.h"

#include "SeriesTextField.h"
#include "teeopengl.h"

#include "pieseries.h"
#include "pointseries.h"
#include "point3dseries.h"
#include "vector3dseries.h"
#include "towerseries.h"
#include "mapseries.h"
#include "trisurfaceseries.h"
#include "contourseries.h"
#include "colorgridseries.h"

#include "lineseries.h"
#include "candleseries.h"
#include "barseries.h"
#include "histogramseries.h"
#include "horizbarseries.h"
#include "horizhistogramseries.h"
#include "areaseries.h"
#include "fastlineseries.h"
#include "shapeseries.h"
#include "ganttseries.h"
#include "bubbleseries.h"
#include "arrowseries.h"

#include "valuelist.h"
#include "valuelists.h"


#include "import.h"
#include "export.h"
#include "xmlexport.h"
#include "nativeexport.h"
#include "jpegexport.h"
#include "bmpexport.h"

// Dispatch interfaces referenced by this interface
#include "aspect.h"
#include "axes.h"
#include "canvas.h"
#include "titles.h"
#include "pen.h"
#include "page.h"
#include "panel.h"
#include "printer.h"
#include "Scroll.h"
#include "series.h"
#include "Walls.h"
#include "Zoom.h"
#include "environment.h"
#include "TeePoint2D.h"
#include "toollist.h"

#include "teeeditoroptions.h"
#include "SeriesList.h"
#include "teelistbox.h"
#include "teecommander.h"
#include "teeeditor.h"
#include "seriestextsource.h"

// Dispatch interfaces referenced by this interface
#include "TeeCommanderButton.h"
#include "TeeChartCtrl.h"

#include "Axis.h"
#include "AxisLabels.h"
#include "AxisTitle.h"

#include "marks.h"
#include "markssymbol.h"

#include "legend.h"
#include "legendtitle.h"

#include "strings.h"
#include "teefunction.h"


//#include "TChartEx.h"


#ifdef _AFXDLL
  #ifdef _DEBUG
   #define _TCHART_COMMENT	"TChartLibd.lib"
   #define _TCHART_MESSAGE	"TChartLib will automatically link with TChartLibd.dll"
  #else
   #define _TCHART_COMMENT	"TChartLib.lib"
   #define _TCHART_MESSAGE	"TChartLib will automatically link with TChartLib.dll"
  #endif // _DEBUG
#else
  #ifdef _DEBUG
   #define _TCHART_COMMENT	"TChartLibStaticd.lib"
   #define _TCHART_MESSAGE	"TChartLib will automatically link with TChartLibStaticd.dll"
  #else
   #define _TCHART_COMMENT	"TChartLibStatic.lib"
   #define _TCHART_MESSAGE	"TChartLib will automatically link with TChartLibStatic.dll"
  #endif // _DEBUG
#endif // _AFXDLL

#pragma comment(lib, _TCHART_COMMENT) 
#pragma message(_TCHART_MESSAGE)
#endif //__TCHARTLIBRARY_H__
